﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Domain.Material
{
    /// <summary>
    /// 物料明细表
    /// </summary>
    public class MaterialDetailIModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 物料明细主键
        /// </summary>
        public int MaterialDetailId { get; set; }
        /// <summary>
        /// 物料外键
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 预计使用量
        /// </summary>
        public int PredictNum { get; set; }
        /// <summary>
        /// 实际使用量
        /// </summary>
        public int RealityNum { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }=false;
    }
}
